<script type="text/javascript">
jQuery(function($){
	cornAjax();
});

function cornAjax()
{
	$.ajax({
		url: "{SITE_PATH}/services/corn.php",
		type:"GET",
		cache: false,
		dataType:"json",
		success: function(data){
			if(data.status == 1)
			{
				var fun = function(){
					cornAjax();
				};
				setTimeout(fun,2000);	
			}
		}
	});
}
</script>